<Joyeasy:list sql="SELECT * FROM `wode_category` where id=4" id="r">					
    <!--二级banner-->
	<div class="erjibanner">
		<img src="{$r.image}" style="width:100%;height:309px;" />
	</div>
    <!--二级banner-->
    <!--二级content-->
	<div class="content">
		<div class="content_n">
			<div class="content_n_cpnr">
				<div class="cpnr_t">
					<span>产品中心</span>
				</div>
				<div class="cpnr_z">
					<div class="cpnr_z_z">
						<div class="cpnr_z_z_s">
                            <img src="{$tupian[0][filepath]}" width="520" height="350" id="datu" />
						</div>
						<div class="cpnr_z_z_x" style="overflow:hidden;">
                        	<volist name="tupian" id="rt" key="i">
							<div class="cpnr_z_z_x_l">
								<a href="javascript:;" onclick="show_datu({$i})"><img src="{$rt.filepath}" id="xiaotu{$i}" width="115" height="87" /></a>
							</div>
                            </volist>
							<div class="clear"></div>
						</div>
                        <script>
						function show_datu(t){
							var tupian=$('#xiaotu'+t).attr('src');
							$('#datu').attr('src',tupian);	
						}
						</script>
					</div>
					<div class="cpnr_z_y">
						<div class="cpnr_z_y_s">
						{$title}
						</div>
						<div class="cpnr_z_y_z">
						{$content}
						</div>
						<div class="cpnr_z_y_x">
						<a href="{$lianjie}">立即预定</a>
						</div>
					</div>
					<div class="clear"></div>
				</div>
				<div class="cpnr_x">
					<div class="cpnr_x_t">
						<span>推荐产品</span>
						<a href="./index.php?a=index&m=Chanpin&id=37">+更多</a>
						<div class="clear"></div>
					</div>
					<div class="cpnr_x_l">
                    	<volist name="tuijiancp" id="tj">
						<div class="cpnr_x_l_l">
							<a href="./index.php?a=show&m=Chanpin&id={$tj.id}">
								<img src="{$tj.thumb}" width="233" height="153" />
								<div class="cpnr_x_l_l_zi">
								{$tj.title}
								</div>
							</a>
						</div>
                        </volist>
						<div class="clear"></div>
					</div>
				</div>
			</div>
			<div class="clear"></div>
		</div>
	</div>
    <!--二级content-->
</Joyeasy:list>
